//
//  LZToolView.h
//  ShellWallert
//
//  Created by lvzhao on 2019/5/15.
//  Copyright © 2019 吕VV. All rights reserved.
//

#import <UIKit/UIKit.h>


//alertViewtype
typedef NS_ENUM(NSInteger,LZAlertViewType){
    LZAlertViewTypeSystemAlter,                 //系统
    LZAlertViewTypeSystemAlertController,       //系统AlertController
    LZAlertViewTypeActionSheet,                 //Sheet
    LZAlertViewTypeLiquidation,                 //清算
    LZAlertViewTypeTipAlter,                    //tipAlter
    LZAlertViewTypeTradePassword,               //交易密码
    LZAlertViewTypeGrabOrder,                   //抢单
    LZAlertViewTypTipDetail,                    //提示语详情
    LZAlertViewTypContinentDetail,              //洲详情Continent
    LZAlertViewTypMapDetail,                    //地图详情
    LZAlertViewTypPledgeTime,                   //质押时间
    LZAlertViewTypeSubscribe,                    //认购

    
    
  

    
    
};

NS_ASSUME_NONNULL_BEGIN

@interface LZToolView : UIView

// 系统的alertView 回调
/**
 *  returns Alert.
 *  title NSString
 *  message NSString
 *  cancel NSString
 *  sure NSString
 *  dictionary @{};里面的参数自定义    key:subTitles||image||cancelTitle||sureTitle||pointString;
 *  cancelBlock & sureBlock 回调
 *  returns Alert.
 */
+ (void)showAlertType:(LZAlertViewType)alertType withTitle:(NSString *__nullable)title message:(NSString *__nullable)message cancel:(NSString *__nullable)cancel sure:(NSString *__nullable)sure objectDict:(NSDictionary *__nullable)dictionary cancelBlock:(void(^)(__nullable id object))cancelBlock sureBlock:(void(^)(__nullable id object))sureBlock;


#pragma mark - 取消
+ (void)dismiss;





@end

NS_ASSUME_NONNULL_END
